package com.exam.api.entity;

import com.exam.api.common.BaseEntity;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
/**
* @description: 试题信息实体类
* @author: wuming
* @create: 2024.05.03 13:24:03
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Questions extends BaseEntity {

    /**
    * 题目编号
    */
    private Long id;
    /**
    * 题目名称
    */
    private String questionName;
    private String answer;
    /**
    * 分数
    */
    private Integer grade;
    /**
    * 分类
    */
    private Integer types;
    /**
    * 所属考试
    */
    private Long examId;
    /**
    * 创建时间
    */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 难度
     */
    private Integer difficulty;



}
